package com.read.common.exception;

import com.read.common.response.RespEnum;
import lombok.ToString;

/**
 * @author sh-sunb6
 * @description
 * @date 2019-01-15 9:39
 */
@ToString
public class TokenException extends RuntimeException {

    private RespEnum respEnum;

    public TokenException(RespEnum respEnum){
        this.respEnum=respEnum;
    }

    public RespEnum getRespEnum() {
        return respEnum;
    }

    public void setRespEnum(RespEnum respEnum) {
        this.respEnum = respEnum;
    }

}
